package cn.cms.enums;

@Deprecated
public enum SysUserLevel {
    god,
    super_admin,
    common_admin,
    top_operator,
    great_operator,
    normal_operator;

    public static String getRole(int level) {
        String role = "";
        for (int i = 0; i < SysUserLevel.values().length; i++) {
            if (level == SysUserLevel.values()[i].ordinal()) {
                role = SysUserLevel.values()[i].toString();
            }
        }
        return role;
    }

}

